package cn.xiaye.blog.servlet;

import java.util.List;

import cn.xiaye.blog.bean.Context;
import cn.xiaye.blog.bean.User;
import cn.xiaye.blog.dao.UserDao;

@SuppressWarnings("serial")
public class ShowUserPage extends FatherServlet {

	@Override
	public String excute(Context context) {
		UserDao userDao = new UserDao();
		List<User> userList = userDao.QueryAll();
		context.getRequest().setAttribute("userList", userList);
		return "admin/delete_user.jsp";
	}

}
